package com.example.sulingorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sulingorder.entity.OrderCommodityEntity;
import com.xiao.sulingpublic.utils.PageUtils;
import com.xiao.sulingpublic.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 订单涉及商品 表
 *
 * @author wen
 * @email 1322127758@qq.com
 * @date 2022-03-11 14:25:53
 */
public interface OrderCommodityService extends IService<OrderCommodityEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 批量保存数据
     * @param orderCommodityList 要保存的数据集合
     * @return 返回状态
     */
    R saveDataBatch(List<OrderCommodityEntity> orderCommodityList);
}

